package com.tarena.lbs.basic.web.mapper;

import com.tarena.lbs.pojo.basic.dos.AdminDO;
import com.tarena.lbs.pojo.basic.query.AdminQuery;

import java.util.List;

public interface AdminMapper {

    AdminDO selectAdminByPhone(String phone);

    AdminDO selectAdminById(Integer userId);

    List<AdminDO> selectAdminByPage(AdminQuery query);

    long selectCountByPhone(String accountPhone);

    void insert(AdminDO adminDO);
}
